package cn.zyk.exception;

/**
 * 全局异常类
 * @author zangyk
 */
public enum BusinessExceptionCode {
    SUCCESS("SUCCESS"),
    ERROR("ERROR");

    private final String code;

    BusinessExceptionCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }
}
